﻿@page "/barcodereaders"
@inject IStringLocalizer<BarcodeReaders> Localizer

<h4>@Localizer["SubTitle"]</h4>

<PackageTips Name="BootstrapBlazor.BarCode" />

<p><b>@Localizer["Attention"]</b></p>
<ul class="ul-demo">
    <li>@((MarkupString)Localizer["Li1"].Value)</li>
    <li>@Localizer["Li4"]</li>
</ul>

<DemoBlock Title="@Localizer["BasicUsageTitle"]" Introduction="@Localizer["BasicUsageIntro"]" Name="Normal" Demo="typeof(Demos.BarcodeReader.BarcodeReaderNormal)">
    <p>@Localizer["Step"]</p>
    <ul class="ul-demo mb-3">
        <li>@Localizer["BasicUsageLi1"]</li>
        <li>@Localizer["BasicUsageLi2"]</li>
        <li>@Localizer["BasicUsageLi3"]</li>
    </ul>
</DemoBlock>

<DemoBlock Title="@Localizer["ImageTitle"]" Introduction="@Localizer["ImageIntro"]" Name="Image" Demo="typeof(Demos.BarcodeReader.BarcodeReaderImage)">
    <p>@Localizer["Step"]</p>
    <ul class="ul-demo mb-3">
        <li>@Localizer["ImageLi1"]</li>
        <li>@Localizer["ImageLi2"]</li>
        <li>@Localizer["ImageLi3"]</li>
    </ul>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
